package cn.sintang.test.annotation.fruit;

import java.io.Serializable;

/**
 * 苹果类
 * @author txy
 * @date 2017/12/7 16:22
 */
public class Apple implements Serializable{
    private static final long serialVersionUID = -7630007823909634351L;
    @FruitName("苹果")
    private String type;
    @FruitColor(fruitColor = FruitColor.Color.RED)
    private String color;
    @FruitProvider(name = "红富士")
    private String provider;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }
}
